#!/usr/bin


cd example-product
mvn clean package


java \
-Xss256k \
-Xms4G \
-Xmx4G \
-XX:+UseG1GC \
-XX:MaxGCPauseMillis=800 \
-XX:ParallelGCThreads=20 \
-XX:ConcGCThreads=5 \
-XX:InitiatingHeapOccupancyPercent=50 \
-XX:MetaspaceSize=100M \
-Dfile.encoding=UTF-8 \
-Djava.library.path=/usr/local/lib \
  -jar target/example-product-0.0.1-SNAPSHOT.jar